package com.shire.shire_interface.dao.timeline;

import com.shire.shire_interface.model.timeline.WxTimelineFile;
import com.shire.shire_interface.model.timeline.WxTimelineFileExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WxTimelineFileDao {
    long countByExample(WxTimelineFileExample example);

    int deleteByExample(WxTimelineFileExample example);

    int deleteByPrimaryKey(String mid);

    int insert(WxTimelineFile record);

    int insertSelective(WxTimelineFile record);

    List<WxTimelineFile> selectByExample(WxTimelineFileExample example);

    WxTimelineFile selectByPrimaryKey(String mid);

    int updateByExampleSelective(@Param("record") WxTimelineFile record, @Param("example") WxTimelineFileExample example);

    int updateByExample(@Param("record") WxTimelineFile record, @Param("example") WxTimelineFileExample example);

    int updateByPrimaryKeySelective(WxTimelineFile record);

    int updateByPrimaryKey(WxTimelineFile record);
}